package org.sy.lab.多线程基础._3_同步辅助类._1_Semaphore信号量;

public class MyThread implements Runnable {
	
	private Queue queue;
	
	public MyThread(Queue queue) {
		this.queue = queue;
	}
	
	@Override
	public void run() {
		queue.print(Thread.currentThread().getName());
	}
}
